package com.jjh.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jjh.annation.CreateTime;
import com.jjh.annation.UpdateTime;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 分类类型实体类
 */
@Data
public class CateType implements Serializable {
    private Integer id;

    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @CreateTime
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @UpdateTime
    private LocalDateTime updateTime;

    @Serial
    private static final long serialVersionUID = 1L;


}
